﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApp.App.Models.BLL.Cms
{
    public class Channel
    {
        public NRapid.List<Models.Entity.Common.channel> GetChannel()
        {
            var con = Models.Common.OpenConnection();
            //sisdg
            var channels = con.QueryAll<Models.Entity.Common.channel>("select * from channel");
            con.Close();
            return channels;
        }
    }
}